package com.webproject.service.impl.sysManager;

import java.util.List;

import com.webproject.dao.sysManager.SysManagerDao;
import com.webproject.entity.sysManager.SysMenu;
import com.webproject.entity.sysManager.User;
import com.webproject.service.sysManager.SysManagerService;

public class SysManagerServiceImpl implements SysManagerService {

	private SysManagerDao sysManagerDao;
	public SysManagerDao getSysManagerDao() {
		return sysManagerDao;
	}
	public void setSysManagerDao(SysManagerDao sysManagerDao) {
		this.sysManagerDao = sysManagerDao;
	}
	@Override
	public List<SysMenu> querySysMenu(String roleId) {
		// TODO Auto-generated method stub
		return sysManagerDao.querySysMenu(roleId);
	}
	@Override
	public List<SysMenu> querySysMenuByUser(User user) {
		// TODO Auto-generated method stub
		return sysManagerDao.querySysMenuByUser(user);
	}

}
